<?php if(!defined("PATH_HD"))exit;?>
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录 | 依依博客</title>
<style>
body{
background-color:#DDE1E5;
}
a:link {text-decoration:none;} 
a:hover{text-decoration:none;}
#body{
	margin-top:150px;
	width:360px;
	margin-left:auto;
	margin-right:auto;
	font-size:14px;
	background-color:#DDE1E5;
	padding:20px;
	height:118px;
}
#title{
	padding-left:113px;
	font-size:18px;
	margin-bottom:15px;
}
#submit{
	padding-top:5px;
	padding-left:93px;
}
li{
	list-style:none;
	margin-top:10px;
}
</style>
<body>
<div id="body">
	<form action="<?php echo 'http://localhost/company01/index.php/index/user&m=login';?>" method="post">
		<div id="title"><strong>用户登录</strong></div>
		<ul>
			<li>
				用户名:<input type="text" name='username'/>
			</li>
			<li>
				密&nbsp;码：<input type="password" name="password"/>
			</li>
		</ul>
		
		
	<!-- 	验证码：<input type="text" name='uname' size="6"/><img src="76.1.php" id="code" onclick="this.src=this.src+'?a='+Math.random()"/>
			<a  id="change_code" href="javascript:void(0);">看不清</a>
			<script>
				document.getElementById("change_code").onclick=function(){
					var code = document.getElementById("code");
					code.src=code.src+"?a="+Math.random();
				}
			</script> -->
		<div id="submit">
		<input type="submit" value="登录"/>
		
		<a href="<?php echo @$web.'?c=user&m=reg_show'?>"><button type="button">注册</button></a>
		</div>
	</form>
</div>
</body>
</html>